package com.carkeeper.order.service;

import com.carkeeper.order.pojo.Accounts;
import com.github.pagehelper.Page;

import java.util.Map;


public interface AccountsService {
    /**
     * 分页+条件查询结算表
     * @param searchMap
     * @param page
     * @param pageSize
     * @return
     */
    Page<Accounts> accountsPage(Map<String, Object> searchMap, int page, int pageSize);

    /**
     * 添加结算单
     * @param accounts
     * @return
     */
    void addAccounts(Accounts accounts);
}
